<?php
$CI =& get_instance();
$sBasePath = public_base_url().'js/fckeditor/' ;
?>
<h2>Template Home page</h2>
<div class="content-inner">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="form-table">
		<tbody>
		    <tr>
		      <th class="label">Template Name:</th>
			</tr>
		    <tr>
		      <td><input type="text" name="item_name" class="input-text required" value="<?=$ed['name']?>"></td>
		    </tr>
			<tr>
		      <th class="label">Title:</th>
			</tr>
		    <tr>
		      <td><input type="text" name="item_title" class="input-text required" value="<?=$ed['title']?>"></td>
		    </tr>
		    <tr>
				<th class="label">Quantity</th>
		    </tr>
			<tr>
				<td>
					<?php $t1 = unserialize($ed['t1']);?>
					<input type="text" name="t1_quantity" class="input-text" value="<?=$t1['quantity']?>"/>
				</td>				
			</tr>
		    <tr>
		      <td colspan="3">
		        <input type="hidden" name="id" value="<?=$ed['id']?>" />
		        <input type="hidden" name="item_main" value="<?=$nav['id']?>" />
		        <input type="hidden" name="item_temp" value="<?=$nav['temp']?>" />
		        <input name="Submit" type="submit" class="ins" value="Save" />
		      </td>
		    </tr>
		</tbody>
	</table>
</div>